﻿using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

/// <summary>
/// BaseClass 的摘要说明
/// </summary>
public class BaseClass
{
	public BaseClass()
	{
		//
		// TODO: 在此处添加构造函数逻辑
		//
	}

    /// <summary>
    /// 定义地图显示范围
    /// </summary>
    public class MapExtent
    {
        private double _dLeft;
        private double _dTop;
        private double _dRight;
        private double _dBottom;

        public MapExtent()
        {
            _dTop = 0.0;
            _dLeft = 0.0;
            _dRight = 0.0;
            _dBottom = 0.0;
        }
        public MapExtent(double dLeft, double dBottom, double dRight, double dTop)
        {
            _dLeft = dLeft;
            _dTop = dTop;
            _dRight = dRight;
            _dBottom = dBottom;
        }
        public double Top
        {
            set
            {
                _dTop = value;
            }
            get
            {
                return _dTop;
            }
        }
        public double Left
        {
            set
            {
                _dLeft = value;
            }
            get
            {
                return _dLeft;
            }
        }
        public double Right
        {
            set
            {
                _dRight = value;
            }
            get
            {
                return _dRight;
            }
        }
        public double Bottom
        {
            set
            {
                _dBottom = value;
            }
            get
            {
                return _dBottom;
            }
        }
    }
}
